package ircbot;

/**
 * An interface all jobs must implements
 *
 * @author andreas
 */
public interface Job {
    /**
     * This method gets called when the bot forwards an onMethod event to a Job
     *
     * @param channel
     * @param sender
     * @param login
     * @param hostname
     * @param message
     */
    public void onMessage(String channel, String sender, String login, String hostname, String message);

    /**
     * This method gets called whenever someone (possibly us) joins a channel wich we are on
     *
     * @param channel
     * @param sender
     * @param login
     * @param hostname
     */
    public void onJoin(String channel, String sender, String login, String hostname);

    // TODO needs to difene methods for all events
}
